<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use App\Services\WorkWeChatMessageSaveService;
use Azhida\Tools\Tool;
use Illuminate\Http\Request;

class TestController extends Controller
{
    public function test()
    {
        try {
            $workWeChatMessageSaveService = new WorkWeChatMessageSaveService();
            $res = $workWeChatMessageSaveService->getChatData();
            dd($res);
        } catch (\Exception $exception) {
            dd($exception->getMessage());
        }

    }
}
